package com.cheng.pojo;
/**
 * 教师类
 * @author pc
 */
public class Teacher {
    //教师编号
    private String tid;
    //姓名
    private String name;
    //用户的openid
    private String openid;

    public Teacher(String tid, String name, String openid) {
        this.tid = tid;
        this.name = name;
        this.openid = openid;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tid='" + tid + '\'' +
                ", name='" + name + '\'' +
                ", openid='" + openid + '\'' +
                '}';
    }
}
